package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
/**//***///
import javax.management.relation.Role;
import java.io.Serializable;
@Data
@Accessors(chain = true)
@TableName
public class User extends BasePojo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //其他属性名称一致，这里省略@TableField标签
    private String username;
    private String password;
    private String phone;
    private String email;
    private boolean status;
    @TableField(exist = false)
    private Role role;
}
